
        <?$a=$this->article?>
<div style="margin: 20px;">
    <h2><?=$a['title']?></h2>
        <div style="float: left;margin-right: 20px;">
            <img src="<?if ($a['img']) print $a['img']; else {print "http://placehold.it/325x260";} ?>">
         </div>
         <div>
                 <p>
                         <i> <?=$a['introduction']?> </i>
                </p>
                 Автор:
                 <b><?=$a['author']?></b>
         </div>
         <div style="clear: both;margin-bottom: 20px;"></div>
         <div><?=$a['content']?></div>
</div>
    <script>

        $().ready(function(){
            setTimeout(window.print(),2000);

        });
        </script>